package com.pinda.controller;

import com.pinda.dto.agencydto.AreaBoundDto;
import com.pinda.dto.returndto.R;
import org.springframework.web.bind.annotation.*;
import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 
 * @since 2022-05-05
 */
@RestController
@RequestMapping("/area")
public class AreaController {


    /**
     * parentId是cityId
     * @param parentId
     * @return
     */
    @GetMapping("simple")
    public R<List<AreaBoundDto>> getAreaSimple(Integer parentId){
        return null;

    }





}
